﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ISS.Models
{ 
    public class Images
    {
        [Key]
        public int ImageId { get; set; }
        public String Title { get; set; }
        public String Alias { get; set; }
        public String ImageThumbnail { get; set; }
        public String OriginalFrom { get; set; }
        public int Like { get; set; }
        public int ViewCount { get; set; }
        public DateTime UploadDate { get; set; }
        public int AlbumId { get; set; }
        public String DirectLink { get; set; }
        public virtual Album Album { get; set; }
        [NotMapped]
        public int CommentCount { get; set; }
    }
}